import {PageQuery} from "@/type/data";
import {BaseStatelessProps} from "@/type/type";
import {DataStatisticProps} from "@/pages/system/tool/requestLog/list/Stateless/components/DataStatistic/interfaces";
import {ProTableProps} from "@ant-design/pro-table";


export interface RequestSuccessLog {

  id: string,

  requestUri: string,

  className: string,

  methodName: string,

  params: string,

  token: string,

  time: string,

  executeTime: number,


}


export interface RequestSuccessLogParams extends PageQuery {

  time?: number,

  executeTime?: string
}


export interface RequestLogListProps<params, data> extends BaseStatelessProps<params, data> {

  tableProps: ProTableProps<data, params>,
  data: any[],
  dataStatistic: DataStatisticProps
}
